import {createApp} from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import installElementPlus from './plugins/element'
import './assets/css/icon.css'
const app = createApp(App)
// axios.defaults.withCredentials = true
installElementPlus(app)
app
    .use(store)
    .use(router)
    .mount('#app')
// const service = axios.create({
//     baseURL: "http://localhost:8888",
//     timeout: 5000,
//     headers: {
//         'Content-Type': "application/json;charset=utf-8",
//         'Access-Control-Allow-Credentials':"true"
//     },
//     withCredentials: true
//
// })